package Day8;

import java.sql.SQLException;
import java.util.List;

public interface dengluDao {
    public int getTotalPages() throws SQLException;
//    拿到当前页的list
    public List<denglu> cgetNewsListForCurrentPages(int currentPage , int pageSize );
}